package cn.cms.chuangjia.domain;

import java.util.Date;


/**
 * 留言对象 c_msg
 * 
 * //@author ruoyi
 * //@date 2024-01-18
 */
public class Msg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    //@Excel(name = "编号")
    private String id;

    /** 姓名 */
    //@Excel(name = "姓名")
    private String name;

    /** 电话 */
    //@Excel(name = "电话")
    private String tele;

    /** 邮箱 */
    //@Excel(name = "邮箱")
    private String email;

    /** 留言内容 */
    //@Excel(name = "留言内容")
    private String msg;

    /** 客户端ip */
    //@Excel(name = "客户端ip")
    private String ip;

    /** 发布时间 */
    //@JsonFormat(pattern = "yyyy-MM-dd")
    //@Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date postdate;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTele(String tele) 
    {
        this.tele = tele;
    }

    public String getTele() 
    {
        return tele;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setMsg(String msg) 
    {
        this.msg = msg;
    }

    public String getMsg() 
    {
        return msg;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setPostdate(Date postdate) 
    {
        this.postdate = postdate;
    }

    public Date getPostdate() 
    {
        return postdate;
    }

    //@Override

    @Override
    public String toString() {
        return "Msg{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", tele='" + tele + '\'' +
                ", email='" + email + '\'' +
                ", msg='" + msg + '\'' +
                ", ip='" + ip + '\'' +
                ", postdate=" + postdate +
                '}';
    }
}
